From 2f00d6b5b8609aafde07b8fe8acab47ec29a5fe1 Mon Sep 17 00:00:00 2001 From: robertl Date: Fri, 25 Oct 2002 13:59:51 +0000 Subject: [PATCH] Add 'notes' to struct waypoint for Ron. --- gpsbabel/defs.h | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/gpsbabel/defs.h b/gpsbabel/defs.h index da0c4f244..f626ea393 100644 --- a/gpsbabel/defs.h +++ b/gpsbabel/defs.h @@ -109,8 +109,26 @@ typedef struct { typedef struct { queue Q; position position; - char *shortname; + /* shortname is a waypoint name as stored in receiver. It should + * strive to be, well, short, and unique. Enforcing length and + * character restrictions is the job of the output. A typical + * minimum length for shortname is 6 characters for NMEA units, + * 8 for Magellan and 10 for Vista. These are only guidelines. + */ + char *shortname; + /* + * description is typically a human readable description of the + * waypoint. It may be used as a comment field in some receivers. + * These are probably under 40 bytes, but that's only a guideline. + */ char *description; + /* + * notes are relatively long - over 100 characters - prose associated + * with the above. Unlike shortname and description, these are never + * used to compute anything else and are strictly "passed through". + * Few formats support this. + */ + char *notes; char *url; char *url_link_text; const char *icon_descr; -- 2.30.2